


tmr = Timer.new()
tmr:start()
clock ={}

function clock.run()
clock.time = tmr:time()
	clock.hour = math.floor(clock.time/3600000)
	clock.rest = clock.time % 3600000
	clock.minut = math.floor(clock.time/60000)
	clock.rest = clock.rest % 60000
	clock.second = math.floor(clock.rest/1000)
	clock.rest = clock.rest % 1000
	clock.milli = clock.rest
end